//
//  SEGDataPickerView.h
//  RACExample
//
//  Created by 山刘 on 2019/9/11.
//  Copyright © 2019 山刘. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^pickerBlock) (NSDictionary* _Nullable params);
typedef void(^cancelBlock) (void);
NS_ASSUME_NONNULL_BEGIN

@interface SEGDataPickerView : UIView
+(void)showWithTitle:(NSString*)title data:(NSArray<NSArray<NSDictionary*>*>*)data pickerBlock:(pickerBlock)pickerBlock;
+(void)showWithTitle:(NSString*)title data:(NSArray<NSArray<NSDictionary*>*>*)data pickerBlock:(pickerBlock)pickerBlock cancelBlock:(cancelBlock)cancelBlock;
@end

NS_ASSUME_NONNULL_END
